import redis.clients.jedis.Jedis;

public class RedisTest1 {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.25.130", 6379);
        jedis.set("name","baba");
        String name = jedis.get("name");
        System.out.println(name);
        jedis.close();
    }
}
